package com.globalresources.commons.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author aaron.lu(luzhiyuan) E-mail:atyuan.lu@gmail.com
 * @since 创建时间：Jul 26, 2009 1:38:33 PM
 */
public class FileWrapper implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String name;
	private Date lastModified;
	private Boolean isDirectory;
	private Boolean isFile;
	private String absolutePath;
	private String parent;
	private Integer newFileAmountForTaday;
	private Integer allFileAmount;
	private Long distance;
	
	/**
	 * empty file
	 */
	public FileWrapper(){
		
	}
	
	public FileWrapper(String name, Date lastModified, Boolean isDirectory, Boolean isFile, String absolutePath, String parent, Integer newFileAmountForTaday, Integer allFileAmount) {
		super();
		this.name = name;
		this.lastModified = lastModified;
		this.isDirectory = isDirectory;
		this.isFile = isFile;
		this.absolutePath = absolutePath;
		this.parent = parent;
		this.newFileAmountForTaday = newFileAmountForTaday;
		this.allFileAmount = allFileAmount;
	}



	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getLastModified() {
		return lastModified;
	}
	public void setLastModified(Date lastModified) {
		this.lastModified = lastModified;
	}
	public Boolean getIsDirectory() {
		return isDirectory;
	}
	public void setIsDirectory(Boolean isDirectory) {
		this.isDirectory = isDirectory;
	}
	public Boolean getIsFile() {
		return isFile;
	}
	public void setIsFile(Boolean isFile) {
		this.isFile = isFile;
	}
	public String getAbsolutePath() {
		return absolutePath;
	}
	public void setAbsolutePath(String absolutePath) {
		this.absolutePath = absolutePath;
	}
	public String getParent() {
		return parent;
	}
	public void setParent(String parent) {
		this.parent = parent;
	}
	public Integer getNewFileAmountForTaday() {
		return newFileAmountForTaday;
	}
	public void setNewFileAmountForTaday(Integer newFileAmountForTaday) {
		this.newFileAmountForTaday = newFileAmountForTaday;
	}
	public Integer getAllFileAmount() {
		return allFileAmount;
	}
	public void setAllFileAmount(Integer allFileAmount) {
		this.allFileAmount = allFileAmount;
	}
	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getDistance() {
		return distance;
	}

	public void setDistance(Long distance) {
		this.distance = distance;
	}
	
	

}
